import numpy as np
import pandas as pd

s=pd.Series(8,index=[1,2,3])
print(s)

s=pd.Series(np.arange(3),index=[4,5,6])
print(s)

s=pd.Series(['a','b','c','d'],index=(10,17,2,22))
print(s)

date={'d':0,'a':2,'c':1}
s=pd.Series(date,index=['a','b','c','d'])
print(s)

date=np.arange(12).reshape(3,4)
df=pd.DataFrame(date,index=['a','b','c'],colmuns=['c1','c2','c3','c4'])
print(df) 